package com.jic.product.controller.rest.vo;
import com.jic.member.response.MemberResponse;
import com.jic.product.model.entity.File;
import com.jic.product.model.entity.ProductCommentReply;
import com.jic.product.rest.response.ProductPropertyResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(description = "前端商品详情评论列表响应实体")
public class MProductCommentVo {
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "用户id")
    private Long memberId;

    @ApiModelProperty(notes = "创建时间")
    private Date createTime;

    @ApiModelProperty(notes = "评论星级")
    private Integer startNum;

    @ApiModelProperty(notes = "评价内容")
    private String content;

    @ApiModelProperty(notes = "评价人信息")
    private MemberResponse memberResponse;

    @ApiModelProperty(notes = "评价图片")
    private List<File> fileList;

    @ApiModelProperty(notes = "追评内容")
    private List<MProductCommentVo> additionalReviewList;

    @ApiModelProperty(notes = "回复内容")
    private List<ProductCommentReply> writeBackList;

    @ApiModelProperty(notes = "商品规格属性")
    private List<ProductPropertyResponse> productPropertyResponseList;

}
